import request from '@/utils/request'

export function GetUnreadNotificationCount() {
  return request({
    url: 'notifications/api/unread_count/',
    method: 'GET'
  })
}

export function GetAllNotificationList(args) {
  return request({
    url: `notifications/api/all_list/?${args}`,
    method: 'GET'
  })
}

export function MarkReadNotification(id) {
  return request({
    url: `notifications/api/mark-as-read/${id}`,
    method: 'GET'
  })
}

export function MarkReadNotificationAll(id) {
  return request({
    url: `notifications/api/mark-as-read/${id}`,
    method: 'GET'
  })
}

export function view_notification_description(id) {
  return request({
    url: `notifications/api/view_notification_description/${id}`,
    method: 'GET'
  })
}
